using System;
using System.ComponentModel;
using System.Drawing;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "PolyStyleType")]
	public class PolyStyle : ColorStyle
	{
        private bool fillField, outlineField;

        public PolyStyle()
		{
            this.fillField = true;
            this.outlineField = true;
		}

        [XmlElement(ElementName = "fill", DataType = "boolean")]
        [DefaultValue(true)]
        public bool Fill
        {
            get { return this.fillField; }
            set { this.fillField = value; }
        }

        [XmlElement(ElementName = "outline", DataType = "boolean")]
        [DefaultValue(true)]
        public bool Outline
        {
            get { return this.outlineField; }
            set { this.outlineField = value; }
        }
    }
}